/*
 * @Author: jackning 270580156@qq.com
 * @Date: 2024-01-29 16:21:46
 * @LastEditors: jackning 270580156@qq.com
 * @LastEditTime: 2024-02-24 13:05:34
 * @Description: bytedesk.com https://github.com/Bytedesk/bytedesk
 *   Please be aware of the BSL license restrictions before installing Bytedesk IM – 
 *  selling, reselling, or hosting Bytedesk IM as a service is a breach of the terms and automatically terminates your rights under the license.
 *  Business Source License 1.1: https://github.com/Bytedesk/bytedesk/blob/main/LICENSE 
 *  contact: 270580156@qq.com 
 *  联系：270580156@qq.com
 * Copyright (c) 2024 by bytedesk.com, All Rights Reserved. 
 */
package com.bytedesk.core.socket.mqtt.initializer.websocket;

// import io.netty.buffer.ByteBuf;
// import io.netty.channel.ChannelHandlerContext;
// import io.netty.handler.codec.MessageToMessageDecoder;
// import io.netty.handler.codec.http.websocketx.BinaryWebSocketFrame;

// import java.util.List;

// /**
//  * TODO: 暂未添加到handler中
//  */
// public class WebSocketFrameToByteBufDecoder extends MessageToMessageDecoder<BinaryWebSocketFrame> {

//     @Override
//     protected void decode(ChannelHandlerContext chc, BinaryWebSocketFrame frame, List<Object> out) {
//         // convert the frame to a ByteBuf
//         ByteBuf byteBuf = frame.content();
//         byteBuf.retain();
//         out.add(byteBuf);
//     }
// }
